package com.meilai.project.controller.web.adMake.dto;

import com.meilai.project.constant.AdMakeOutTypeEnum;
import com.meilai.project.constant.AdMakeTypeEnum;
import com.meilai.project.dto.workflow.WorkFlowExtraSubmitDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 新增广告制作单的参数
 *
 * @Author yxg
 * @Date 2022/8/3 0:58
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel
public class BillAdMakeCreateParams extends WorkFlowExtraSubmitDTO {

    @ApiModelProperty(value = "公司id，对应department表的id")
    private Long dept_id;

    @ApiModelProperty(value = "合同id，对应contract_apply表的id")
    private Long contract_id;

    @ApiModelProperty(value = "项目id，对应customer_info表的id")
    private Long customer_id;

    @ApiModelProperty(value = "市场单id，对应bill_market表的id")
    private Long bill_market_id;

    @ApiModelProperty(value = "类型 外单/内单")
    private AdMakeTypeEnum type;

    @ApiModelProperty(value = "外单分类，正常/换画")
    private AdMakeOutTypeEnum dict_class_out_id;

    @ApiModelProperty(value = "内单分类id，对应dictionary表的id")
    private Long dict_class_in_id;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "标记的制作单List")
    private List<BillAdMakeCreateForMarkParams> marks;

    @ApiModelProperty(value = "所有画面List")
    private List<BillAdMakeCreateForPicParams> pics;

    @ApiModelProperty(value = "分配供应商List")
    private List<BillAdMakeCreateForDisParams> diss;

    @ApiModelProperty(value = "配送List（包含小样）")
    private List<BillAdMakeCreateForDeliverParams> delivers;
}
